package com.czwj.dao;

import java.util.List;
import java.util.Map;

import com.czwj.entities.BudgetMain;

public interface BudgetMainMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BudgetMain record);

    int insertSelective(BudgetMain record);

    BudgetMain selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BudgetMain record);

    int updateByPrimaryKey(BudgetMain record);

	List<BudgetMain> searchbylevel3(Map<String, Object> map);

	List<BudgetMain> searchbyprojectitem(Map<String,Object> map);

	int updateStatus(int id);

	int countbylevel3(Map<String, Object> map);

	int updateMoney(Map<String, Object> map);

	List<BudgetMain> searchbylevel1(Map<String, Object> map);

	int countbylevel1(Map<String, Object> map);

	List<BudgetMain> searchbylevel2(Map<String, Object> map);

	int countbylevel2(Map<String, Object> map);

	List<BudgetMain> searchbylevel0(Map<String, Object> map);

	int countbylevel0(Map<String, Object> map);

	/**
	* @Title: deleteByProjectitemid
	* @Description: TODO
	* @param id 参数 
	* @return void 返回类型
	* @throws
	*/
	void deleteByProjectitemid(Integer id);

	/**
	* @Title: searchbyprojectitemchild
	* @Description: TODO
	* @param id
	* @return 参数 
	* @return BudgetMain 返回类型
	* @throws
	*/
	BudgetMain searchbyprojectitemchild(Integer id);

	/**
	* @Title: searchbyprojectitemid
	* @Description: TODO
	* @param id
	* @return 参数 
	* @return BudgetMain 返回类型
	* @throws
	*/
	BudgetMain searchbyprojectitemid(Integer id);
}